package cn.com.oceansoft.business.os.api.vote.persistence;

import cn.com.oceansoft.business.os.api.qrcode.domain.User;
import cn.com.oceansoft.business.os.api.vote.domain.Show;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 系统字典表数据库操作接口
 *
 * @author: chenw
 * @time: 2014/5/26 0026 下午 19:29
 */
@Repository
public interface IVoteMapper {
    List<Show> getshowListAll();

    User findUserByOpenId(String openId);

    int countVote(String id);

    void uservote(@Param("showid")String showid, @Param("userid")int userid);
//
//    User findUserByIdAndName(Map<String, String> param);
//
//    void saveCheckIn(CheckIn checkIn);
//
//    int checkUserLogin(String openId);
}
